<html>

<head>
    <script type="text/javascript" language="JavaScript">
        function resizeParentIframe() {
            var paramList = parseParam();
            if (paramList != null) {
                var iframeName = paramList['iframeid'];
                var height = paramList['height'];
                if (iframeName != null) {
                    if (height != null) {
                        if (height.match(/^[0-9]+$/)) {
                            if ('function' === typeof parent.parent.changeIframeHeight) {
                                parent.parent.changeIframeHeight(iframeName, height);
                            }
                        }
                    }
                }
            }
        }

        // �p�����[�^�̖��O���L�[�Ƃ����A�z�z���Ԃ�
        function parseParam() {
            if (1 < document.location.search.length) {
                var params = document.location.search.substring(1).split('&');
                var paramList = new Object();
                for (var i = 0; i < params.length; i++) {
                    element = params[i].split('=');
                    if (element[1]) {
                        paramList[element[0]] = element[1];
                    } else {
                        paramList[element[0]] = '';
                    }
                }
                return paramList;
            }
            return null;
        }
    </script>

</head>

<body onload="resizeParentIframe()"></body>

</html>